package com.lihuinch.test.qiyeweixin.callback;

import com.lihuinch.test.qiyeweixin.callback.util.SpringContextUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan("com.lihuinch")
public class QiyeweixinCallbackApplication {

    public static void main(String[] args) {
        ApplicationContext applicationContext =  SpringApplication.run(QiyeweixinCallbackApplication.class, args);
        SpringContextUtil.setApplicationContext(applicationContext);
    }

}
